package com.example.onlinemusic.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.onlinemusic.common.R;
import com.example.onlinemusic.model.domain.RankList;
import com.example.onlinemusic.model.request.RankListRequest;

public interface RankListService extends IService<RankList> {

    /**
     * 添加评价
     * @param rankListRequest
     * @return
     */
    R addRankList(RankListRequest rankListRequest);

    R rankOfSongListId(long songListId);

    R getRankScroe(long consumerId,long songListId);
}
